package cn.com.icbc.wjl.GWT.client;

public class TaskInfo {

	enum Priority {LOW, NORMAL, HIGH }
	//a required short descriptive title
	private String title;
	//option (may be null) extra text describing the task in details
	private String description;
	
	//define the priority of the task
	private Priority priority = Priority.NORMAL;
	
	public TaskInfo(){
		
	}

	
	//getters and setters
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Priority getPriority() {
		return priority;
	}

	public void setPriority(Priority priority) {
		this.priority = priority;
	}
	
}
